﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;

namespace HR.Appointments.Service.Test
{
    [TestFixture]
    public class TestServiceFacade
    {
        ServiceFacade _facade;

        [SetUp]
        public void SetUp()
        {
            MockDao.SetUp();
            _facade = new ServiceFacade(false);
        }

        [TearDown]
        public void TearDown()
        {
            MockDao.TearDown();
            _facade = null;
        }

        [Test]
        public void GetCompanies()
        {
            List<CompanyEntity> res = _facade.AvailableCompanies();
            Assert.IsNotNull(res);
            Assert.AreEqual(2, res.Count);
        }

        //[Test]
        //public void GetActivities()
        //{ 
        //    _facade.GetActivities(
        //}
    }
}
